import Layout from '@/components/layout';
import React from 'react';
import Login from '@/view/login';
import { BrowserRouter, Route, Routes } from 'react-router-dom';

function App() {
	return (
		<BrowserRouter>
			<Routes>
				<Route exact path="/login" element={<Login/>} />
				<Route path="/*" element={<Layout/>} />
			</Routes>
		</BrowserRouter>
	)
}

export default App;
